# _*_coding:utf-8 _*_
# @Time　　:2021/6/20 22:24
# @Author : mojin
# @Email : 397135766@qq.com
# @File　　  :login_page.py
# @Software  :PyCharm

#from selenium.webdriver.common.by import By
from appium.webdriver.common.mobileby import MobileBy


class LoginPage():

    ShanYanOneKey = (MobileBy.ANDROID_UIAUTOMATOR, 'new UiSelector().text("其他方式登录")')

    tv_agree = (MobileBy.ID, "com.gsx.tiku:id/tv_agree")  # 同意使用并开始
    tv_login_pwd=(MobileBy.ID,"com.gsx.tiku:id/tv_login_pwd")#切换为密码登录
    LoginID=(MobileBy.ID,'com.gsx.tiku:id/et_phone')#输账号框
    LoginPWD=(MobileBy.ID,'com.gsx.tiku:id/et_pwd')#输入密码框
    iv_select=(MobileBy.ID,"com.gsx.tiku:id/iv_select")#勾选用户协议
    bt_login = (MobileBy.ID, "com.gsx.tiku:id/bt_login")  # 登录按钮
    tvName= (MobileBy.ANDROID_UIAUTOMATOR, 'new UiSelector().text("我的")')
    tvNickName=(MobileBy.ID, "com.gsx.tiku:id/tvNickName")  # 账户id
